@echo off

set APP_HOME=%~dp0

set JAVA=%JAVA_HOME%\bin\java

if not "%JAVA_HOME%" == "" goto SET_CLASSPATH

set JAVA=java

echo JAVA_HOME is not set, unexpected results may occur.
echo Set JAVA_HOME to the directory of your local JDK to avoid this message.

:SET_CLASSPATH

rem init classpath

set CLASSPATH=%APP_HOME%\classes;%APP_HOME%\dist\SocketTest-1.0.jar;%APP_HOME%\lib\*;

rem JVM parameters, modify as appropriate

:START

rem ********* run soapui ***********

"%JAVA%" %JAVA_OPTS% -cp "%CLASSPATH%" -Djava.library.path=%APP_HOME%\nativelib\win32 com.bambamboo.socket.server.Server %*

